/*
 * @Author: Admin 2547123543@qq.com
 * @Date: 2025-07-21 11:19:39
 * @LastEditors: Admin 2547123543@qq.com
 * @LastEditTime: 2025-07-21 12:27:10
 * @FilePath: \实训内容\day721\Test02While.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day721;

public class Test02While {
    public static void main(String[] args) {
        int i =1;
        while (i<=5) {
            System.out.println("i:"+(i-1));
            i++;
        }
        int a =0;
        int sum =0;
        while (a <101) {
            a+=1;
            sum = sum +a;
        }
    }
    
}
